﻿@model Project_KhuyenMaiVang.Models.LogOnModel
@{
    ViewBag.Title = "DangNhap";
    Layout = "~/Views/Shared/_LayoutDefault.cshtml";
}

    <div id="FormDangKy" align="center">
    <p align="left">&nbsp;</p>
    <form id="form3" name="form3" method="post" action="">
    <table width="555" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
        <td colspan="3"><div align="center" class="TieuDeTheTable">THÔNG TIN ĐĂNG NHẬP</div></td>
        </tr>
        <tr>
        <td width="125">Emal đăng nhập:</td>
        <td colspan="2">@Html.TextBoxFor(m => m.UserName)</td>
        </tr>
        <tr>
        <td>Mật khẩu:</td>
        <td colspan="2">@Html.PasswordFor(m => m.Password)</td>
        </tr>
        <tr>
        <td>Remember:</td>
        <td colspan="2">@Html.CheckBoxFor(m => m.RememberMe)</td>
        </tr>
        <tr>
        <td>&nbsp;</td>
        <td width="148"><div align="right">
            @*<input type="submit" name="button" id="button" value="xác nhận" />*@
            <input type="submit" value="Log On" />
        </div></td>
        <td width="282">&nbsp;</td>
        </tr>
        <tr>
        @if (ViewBag.LogonResult != null)
        { 
            <td style = "color:Red "><b>@ViewBag.LogonResult</b></td>
        }
        </tr>
    </table>
    </form>
  </div>
  <div class="clearboth"></div>    
